using System;
using System.ComponentModel;
namespace TaskTodo.Todos.Dtos
{
    [Serializable]
    public class TodoCreateDto
    {
        /// <summary>
        /// 标题
        /// </summary>
        [DisplayName("TodoTitle")]
        public string Title { get; set; }

        /// <summary>
        /// 待办任务详细描述
        /// </summary>
        [DisplayName("TodoDetail")]
        public string Detail { get; set; }

        /// <summary>
        /// 测试情况
        /// </summary>
        [DisplayName("TodoIsTestOk")]
        public TodoTestItem IsTestOk { get; set; }

        /// <summary>
        /// 测试次数
        /// </summary>
        [DisplayName("TodoTestTimes")]
        public int TestTimes { get; set; }

        /// <summary>
        /// 测试意见
        /// </summary>
        [DisplayName("TodoTestOpinion")]
        public string TestOpinion { get; set; }

        /// <summary>
        /// 预期完成时间
        /// </summary>
        [DisplayName("TodoEstimatedTime")]
        public DateTime? EstimatedTime { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        [DisplayName("TodoCompletionTime")]
        public DateTime? CompletionTime { get; set; }

        /// <summary>
        /// 阶段
        /// </summary>
        [DisplayName("TodoStage")]
        public TodoStage Stage { get; set; }

        /// <summary>
        /// 置顶
        /// </summary>
        [DisplayName("TodoPlacedAttheTop")]
        public virtual bool PlacedAttheTop { get; set; }

        /// <summary>
        /// 紧急程度
        /// </summary>
        [DisplayName("TodoUrgencyDegree")]
        public virtual UrgencyDegree UrgencyDegree { get; set; }

        /// <summary>
        /// 是否结束
        /// </summary>
        [DisplayName("TodoDone")]
        public bool Done { get; set; }
    }
}